package com.ming.springcloud.consumer.hystric;

import com.ming.springcloud.consumer.service.DeviceService;
import com.ming.springcloud.consumer.vo.Books;
import com.ming.springcloud.consumer.vo.Devices;
import org.springframework.stereotype.Component;

@Component
public class DeviceServiceHystric implements DeviceService {

    @Override
    public String findAllDevices(String name) {
        return "服务不可用 " + name;
    }

    @Override
    public String findDevicesById(String name, Integer id) {
        return "服务不可用 " + name;
    }

    @Override
    public String delDevice(String name, Integer id) {
        return "服务不可用 " + name;
    }

    @Override
    public String editDevice(String name, Devices devices) {
        return "服务不可用 " + name;
    }

    @Override
    public String addDevice(String name, Devices devices) {
        return "服务不可用 " + name;
    }
}
